@extends('Home.loveser.index')
@section('page')
        <!-- 标题 -->
      <div class="col-xs-6" >
          <div class="row" style="">
         


            <div class="row">
                <div class="col-md-7 ">
                
                </div>
	                <div class="col-md-10 ">
	                    <form role="form" action="{{url('/homes/care/insert')}}" method="post" enctype="multipart/form-data">
                                        <div class="form-group">
                                            <label>捐款人姓名</label>
                                            <input class="form-control" name="username" >                                            
                                        </div>
                                        <div class="form-group">
                                            <label>捐款金额</label>
                                            <input class="form-control" type="text" name="account" >                                 
                                        </div>
                                        <div class="form-group">
                                            <label>捐款人电话</label>
                                            <input class="form-control" type="text" name="phone" >                                            
                                        </div>
                                       
                                        {{ csrf_field() }}
                                        <button class="btn btn-Primary" type="submit">提交</button>
                                        <button class="btn btn-danger" type="reset">重置</button>
                                    </form>
	                </div>
            </div>


            

            </div>
            <hr>

          </div>
    
        <div class="col-xs-3 " style="height:600px">
                    <div class="row">
            @if (session('success'))
        
                <div id="successInfo" class="alert alert-success alert-dismissable col-xs-4 col-xs-offset-3" style="position: absolute;top: 70px;">
                    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                    {{ session('success') }}
                </div>     
            @endif
            @if (session('error'))
                
                <div id="errorInfo" class="alert alert-success alert-dismissable col-xs-4 col-xs-offset-3" style="position: absolute;top: 70px;">
                    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                    {{ session('error') }}
                </div>     
            @endif
                </div>
            </div>   
         </div>   
          </div>
        <!-- 文章内容 -->
     </div>
      <center>
     
    </center>
  </div>
@endsection